# -*- coding: utf-8 -*-
__author__ = 'gongqf'

import os
DEBUG = False
CSRF_ENABLED = False
SECRET_KEY = 'jmN]X R8/X0XHZyj~,?!93LWRT/ArH'

BASE_PATH = os.path.abspath(os.path.dirname(__file__))
APP_FOLDER = 'ctms'
CTMS_DATABASE = 'ctms.db3'
DATABASE = os.path.join(BASE_PATH, APP_FOLDER, CTMS_DATABASE)
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + DATABASE
print DATABASE, SQLALCHEMY_DATABASE_URI


# email server
MAIL_SERVER = 'your.mailserver.com'
MAIL_PORT = 25
MAIL_USE_TLS = False
MAIL_USE_SSL = False
MAIL_USERNAME = 'you'
MAIL_PASSWORD = 'your-password'

# administrator list
ADMINS = ['you@example.com']

# pagination
POSTS_PER_PAGE = 3
MAX_SEARCH_RESULTS = 50
